<!doctype html>
<html>
<head>
    <meta charset=utf-8>
    <meta name="robots" content="noindex,nofollow">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="<?=Web_Path?>packs/layui/css/layui.css">
    <link rel="stylesheet" href="<?=Web_Path?>packs/admin/css/font.css">
    <link rel="stylesheet" href="<?=Web_Path?>packs/admin/css/style.css">
    <script src="<?=Web_Path?>packs/js/jquery.min.js"></script>
    <script src="<?=Web_Path?>packs/layui/layui.js"></script>
    <script src="<?=Web_Path?>packs/admin/js/cscms.js"></script>
</head>
<body id="index_setting">
    <span class="layui-breadcrumb" >
        <a ><cite><i class="fa fa-map-marker"></i><?=L('tpl_01')?></cite></a>
        <a href="<?=site_url('opt/main')?>"><?=L('tpl_02')?></a>
        <a href="<?=site_url('sms')?>"><?=L('tpl_04')?></a>
    </span>
    <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
        <ul class="layui-tab-title">
            <li><a class="tablink" href="<?=site_url('sms')?>"><?=L('tpl_03')?></a></li>
            <li class="layui-this tablink"><a href="javascript:cscms.tips_goto('<?=site_url('sms/add')?>');"><?=L('tpl_04')?></a></li>
            <li><a class="tablink" href="<?=site_url('sms/lists')?>"><?=L('tpl_05')?></a></li>
        </ul>
        <div class="layui-tab-content">
            <form class="layui-form layui-form-pane" action="<?=site_url('sms/add_save')?>" method="post">
                <fieldset class="layui-elem-field" style="margin-top: 15px;">
                    <legend><?=L('tpl_sa_01')?></legend>
                    <div class="layui-field-box">
                        <div class="layui-form-item">
                            <label class="layui-form-label"><?=L('tpl_sa_02')?></label>
                            <div class="layui-input-block" onclick="cscms.show_hide('fsmsg','sid')">
                                <input name="sid" title="<?=L('tpl_sa_03')?>" type="radio" value="1" checked>
                                <input name="sid" title="<?=L('tpl_sa_04')?>" type="radio" value="2">
                            </div>
                        </div>
                        <div class="layui-form-item fsmsg fsmsg1">
                            <label class="layui-form-label"><?=L('tpl_sa_05')?></label>
                            <div class="layui-input-inline">
                                <input type="text" name="tel" placeholder="<?=L('tpl_sa_06')?>" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item  layui-form-text fsmsg fsmsg2" style="display:none">
                            <label class="layui-form-label"><?=L('tpl_sa_05')?></label>
                            <div class="layui-input-block">
                                <textarea name="tel2" placeholder="<?=L('tpl_sa_07')?>" class="layui-textarea"></textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label"><?=L('tpl_sa_08')?></label>
                            <div class="layui-input-block">
                                <textarea name="neir" placeholder="<?=L('tpl_sa_09')?>" class="layui-textarea"></textarea>
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-input-block noborder">
                            <button style="margin-left: 20%;" class="layui-btn" lay-submit lay-filter="setting"><?=L('tpl_sa_10')?></button>
                            <button type="reset" class="layui-btn layui-btn-primary"><?=L('tpl_sa_11')?></button>
                        </div>
                    </div>
                </fieldset>
            </form>
        </div>
    </div>
<script type="text/javascript">
    cscms.init();
</script>
</body>
</html>